package com.fangcun.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fangcun.bean.api.seckill.FlashPromotionGoods;
import com.fangcun.entity.SmsFlashPromotionGoodsRelation;

public interface SmsFlashPromotionGoodsRelationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SmsFlashPromotionGoodsRelation record);

    int insertSelective(SmsFlashPromotionGoodsRelation record);

    SmsFlashPromotionGoodsRelation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SmsFlashPromotionGoodsRelation record);

    int updateByPrimaryKey(SmsFlashPromotionGoodsRelation record);
    
    List<FlashPromotionGoods> getFlashProductList(@Param("flashPromotionId") Long flashPromotionId, @Param("sessionId") Long sessionId);
}